/* USER CODE BEGIN Header */
/**
  ******************************************************************************
  * @file           : SystemLogicTask.h
  * @brief          : System Logic Task
  ******************************************************************************
  * @attention
  * 本文件用于  所有数据的逻辑处理
  * @20210327:文件模板第一次生成
  *
  ******************************************************************************
  */
/* USER CODE END Header */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __SYSTEMLOGICTASK_H
#define __SYSTEMLOGICTASK_H



/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */

#include "main.h"
#include "allconfig.h"

#include "SystemDITask.h"
#include "SystemDOTask.h"
#include "SystemAITask.h"

#include <rtthread.h>


/* USER CODE END Includes */

/* Exported define ------------------------------------------------------------*/
/* USER CODE BEGIN define */

#define LOGIC_PRIORITY      15
#define LOGIC_STACK_SIZE    256
#define LOGIC_TIMESLICE     13


/* USER CODE END define */

/* Exported types ------------------------------------------------------------*/
/* USER CODE BEGIN ET */

typedef struct
{
	ModbusDataDef RunParam[64];
}ConfigDataRunDef;

/* USER CODE END ET */

/* Exported constants --------------------------------------------------------*/
/* USER CODE BEGIN EC */

/* USER CODE END EC */

/* Exported constants --------------------------------------------------------*/
/* USER CODE BEGIN EC */

/* USER CODE END EC */

/* Exported macro ------------------------------------------------------------*/
/* USER CODE BEGIN EM */

extern ConfigDataRunDef RunDataConfig;
/* USER CODE END EM */

/* Exported functions prototypes ---------------------------------------------*/

/* USER CODE BEGIN EFP */

extern void LogicThreadInit(void);

/* USER CODE END EFP */



#endif /* __DO_TASK_H */

/************************ (C) COPYRIGHT CunJu *****END OF FILE****/
